package com.wtwd.campus.entity;

/**
 * @Author ldaoliang
 * @Date create in 10:23 2021/7/6
 * @Description
 */
public enum CommandResponse {

    DEVICE_MODE(1,"定位模式"),
    QUERY_LOCATION(2,"查询定位"),
    SET_WHITE_CALL(3,"设置白名单"),
    DEL_WHITE_CALL(4,"删除白名单"),
    UPDATE_WHITE_CALL(5,"更新白名单"),
    SET_CLASS_MODE(6,"设置课堂模式"),
    DEL_CLASS_MODE(7,"删除课堂模式"),
    UPDATE_CLASS_MODE(8,"修改课堂模式"),
    MONITOR(9,"监听"),
    SLEEP_TIME(10,"闲时自动切换模式"),
    CLASS_MODE_SWITCH(11,"课堂模式开关"),
    SOS_SWITCH(12,"SOS开关"),
    WHITE_CALL_SWITCH(13,"白名单开关")
    ;


    private int code;
    private String message;

    CommandResponse(int code, String msg) {
        this.code = code;
        this.message = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
